<!DOCTYPE html>
<html lang="zh">
	<head>
		<meta charset="UTF-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<title>OSG</title>
	</head>
	<body>
          <div onClick="fafang()" id="kaifang" style="position:fixed;width: 100vw;height: 100vh;background: rgba(0, 0, 0, 0.5);z-index: 10;">
          		<div style="display: flex;justify-content: center;align-items: center;height: 100vh;">
          			<div style="background: #fff;padding: 10px 20px;border-radius: 10px;">即将开放</div>
          		
          	</div>
          </div>

          <div style="height: 100vh;overflow: hidden;">
          	<img style="width:100%;" src="./dowm.png">
          	<div style="width:100%;position: absolute;display: flex;justify-content: center;bottom: 20vh;">
          		<img onClick="phonedmowm()" style="width:270px;" src="./phone.png">
          	</div>
				<div  style="width:100%;position: absolute;display: flex;justify-content: center;bottom: 9vh;">
          		<img onClick="dmowm()" style="width:270px;" src="./and.png">
          	</div>
          </div> 
	</body>
	<style type="text/css">
		body,html,padding,margin{
			padding: 0;
			margin: 0;
		}
		#kaifang{
			display: none;
		}
	</style>

	<script>
		var button = document.getElementById('kaifang');


		function phonedmowm(){
			button.style.display='block'
		}

		function fafang(){
			button.style.display='none'

		}


		function dmowm() {
			location.href='https://download.gonghai.top/osg.apk'
		}
	
	
		function getUrlParams() {
			var params = {};
			var url = window.location.href;
			var queryString = url.substring(url.indexOf('?') + 1);
			var keyValues = queryString.split('&');

			keyValues.forEach(function(keyValue) {
				var pair = keyValue.split('=');
				var key = decodeURIComponent(pair[0]);
				var value = decodeURIComponent(pair[1] || '');

				if (key !== '') {
					if (params[key]) {
						if (Array.isArray(params[key])) {
							params[key].push(value);
						} else {
							params[key] = [params[key], value];
						}
					} else {
						params[key] = value;
					}
				}
			});

			return params;
		}
		
		
 

	 
	</script>
</html>